

template <class T>
class A
{
public:
    A();
    void set(T& v);
    T get();
private:
    T value;    
};


template <class T>
void A<T>::set(T& v)
{
    value = v;
}

template <class T>
T A<T>::get()
{
    return value;
}

